package com.zbkj.common.model.member;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户发票抬头表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_user_electronic_invoice_config")
@ApiModel(value = "用户发票抬头", description = "用户发票抬头表")
public class UserElectronicInvoiceConfig implements Serializable {
    private static final long serialVersionUID = 3341325244112513412L;
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "用户id")
    private String uid;
    @ApiModelProperty(value = "发票类型:1-普通发票(电子),2-专用发票")
    private Integer invoiceType;
    @ApiModelProperty(value = "抬头类型:1-个人或事业单位,2-企业'")
    private Integer titleType;
    @ApiModelProperty(value = "发票抬头")
    private String invoiceTitle;
    @ApiModelProperty(value = "纳税人识别号/税号")
    private String taxNumber;
    @ApiModelProperty(value = "开户银行")
    private String bankName;
    @ApiModelProperty(value = "银行账号")
    private String bankAccount;
    @ApiModelProperty(value = "企业地址")
    private String companyAddress;
    @ApiModelProperty(value = "企业电话")
    private String companyPhone;
    @ApiModelProperty(value = "是否默认 0否 1是 ")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
